﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 读取西门子PLC_Demo
{
    public enum EndianFormat
    {
        /// <summary>
        /// Big-Endian
        /// 大端序 ABCD
        /// </summary>
        ABCD = 0,

        /// <summary>
        /// Big-endian byte swap（大端Byte swap）
        /// 中端序 BADC, PDP-11 风格
        /// </summary>
        BADC = 1,

        /// <summary>
        /// Little-endian byte swap（小端Byte swap）
        /// 中端序 CDAB, Honeywell 316 风格
        /// </summary>
        CDAB = 2,

        /// <summary>
        /// Little-Endian
        /// 小端序 DCBA
        /// </summary>
        DCBA = 3,
    }
}